package com.efesco.service.compensation;

import com.bstek.dorado.data.*;
import com.bstek.dorado.data.db.SqlDataset;
import com.bstek.dorado.common.*;
import com.efesco.common.CommUtil;

/**
 * M_apply_form_dataset_has_insure_productListener
 */
public class M_apply_form_dataset_has_insure_productListener extends AbstractDatasetListener {
  public boolean beforeLoadData(Dataset dataset)
     throws Exception {

		SqlDataset ds = (SqlDataset) dataset;
		String sql = ds.getSql();
		sql += CommUtil.setConditionSQL(ds);
		//System.out.println("M_apply_form_dataset_has_insure_productListener:"+sql);
		ds.setSql(sql);
    return true;
  }

}
